package com.itheima.StringTist;

public class StringBuilderDemo2 {
    public static void main(String[] args) {
        StringBuilder sb= new StringBuilder();
        sb.append("hello").append("world").append("java").append(100);

        System.out.println("sb:" + sb);

        //public StringBuilder reverse()：返回相反的字符序列
        sb.reverse();
        System.out.println("sb:" + sb);
    }
}
